//	document.write ('<input type="text" id="text1"><OBJECT id="factory" name="factory" classid="clsid:4207B8D6-6E90-4799-844D-6B2BBDB0E41F" width=100 height=100> </OBJECT>');
function CreateControl(DivID, CLSID, ObjectID,WIDTH, HEIGHT)
{
  var d = document.getElementById(DivID);
  d.innerHTML = 
    '<object classid="' + CLSID + '" id="' + ObjectID + '" width=' + WIDTH + ' height=' + HEIGHT +'> </OBJECT>';
}


